<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css的常用值</title>
    <style>
        h1 {
            color: #88A6EF;
        }

        h2 {
            color: rgba(76, 228, 255, 0.98);
        }

        .d1 {
            width: 50px;
            height: 100px;
            background-image: linear-gradient(135deg,red,green,blue);
        }

        .d2 {
            width: 50px;
            height: 100px;
            background-image:url("img/mr.png");
            background-size: 50px 100px;
            background-color: lightgreen;
        }

        .d3 {
            width: 500px;
            height: 300px;
            border: 2px solid red;
            background-image: url("img/mr.png");
            background-repeat: no-repeat;
            background-position: center right;
        }

    </style>
</head>
<body>

<h1>明天要上自习，/(ㄒoㄒ)/~~</h1>
<h2>后天要上课</h2>
<div class="d1"></div>
<div class="d2"></div>
<div class="d3"></div>
</body>
</html>